<?php

namespace App\Models;

use App\Library\Models\Entity;
use Illuminate\Database\Eloquent\SoftDeletes;

class ShopProductSpecsModel extends Entity
{
    use SoftDeletes;

    protected $table = 'shop_product_specs';
    
    protected $primaryKey = 'ps_id';
    
    protected $fillable = [
        'ps_id',
        'serial_number',
        'product_id',
        'rand_product_id',
        'user_id',
        'ps_sort',
        'ps_avatar',
        'ps_avatar_img_id',
        'ps_name',
        'ps_price',
        'ps_price_underlined',
        'buy_will_price',
        'ps_total_stock',
        'ps_usable_stock',
        'ps_disable_stock',
        'ps_is_delete',
        'ps_buy_limit',
        'commission',
        'commission_ratio',
        'sales',
        'created_at',
        'updated_at',
        'deleted_at'
    ];
}
